package com.t.bricks.bussiness.db.entity.waresrecommend;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

import com.t.bricks.annotation.DataInfo;

/**
 * 商品推荐'WaresRecommend'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class WaresRecommendRel {

	/**
	 * 编号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="sId", sComment="编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="编号", example="")
	//[end]
	private String sId;

	/**
	 * 商品编号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="WaresRecommend",
		sName="sWaresId", sComment="商品编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="商品编号", example="")
	//[end]
	private String sWaresId;

	/**
	 * 推荐编号
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="WaresRecommend",
		sName="sRecommendId", sComment="推荐编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="推荐编号", example="")
	//[end]
	private String sRecommendId;

	/**
	 * 全称
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="sName", sComment="全称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="全称", example="")
	//[end]
	private String sName;

	/**
	 * 简称
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="sSimpleName", sComment="简称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="简称", example="")
	//[end]
	private String sSimpleName;

	/**
	 * 别名
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="sAlias", sComment="别名", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="别名", example="")
	//[end]
	private String sAlias;

	/**
	 * 分类
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="sType", sComment="分类", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="分类", example="")
	//[end]
	private String sType;
	
	/**
	 * 参考价格(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="mReferencePrice", sComment="参考价格(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="0.00", isExtra=false, iskey=false, isNull=false,
		iMaxLength=10, isDecimal=false, iIntegralLength=6, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="参考价格(元)", example="0.00")
	//[end]
	protected BigDecimal mReferencePrice;
	
	/**
	 * 当前价格(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="mCurrentPrice", sComment="当前价格(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="0.00", isExtra=false, iskey=false, isNull=false,
		iMaxLength=10, isDecimal=false, iIntegralLength=6, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="当前价格(元)", example="0.00")
	//[end]
	protected BigDecimal mCurrentPrice;

	/**
	 * 版本
	 */
	//[start]
	@DataInfo( sDbName="BricksMall", sTableName="Wares",
		sName="iVersion", sComment="版本", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="版本", example="1")
	//[end]
	private Integer iVersion;

	/**
	 * 取 编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 商品编号
	 * @return String
	 */
	public String getsWaresId() {
		return sWaresId;
	}

	/**
	 * 设置商品编号
	 * @param sWaresId
	 */
	public void setsWaresId(String sWaresId) {
		this.sWaresId = sWaresId;
	}

	/**
	 * 取 推荐编号
	 * @return String
	 */
	public String getsRecommendId() {
		return sRecommendId;
	}

	/**
	 * 设置推荐编号
	 * @param sRecommendId
	 */
	public void setsRecommendId(String sRecommendId) {
		this.sRecommendId = sRecommendId;
	}

	/**
	 * 取 全称
	 * @return String
	 */
	public String getsName() {
		return sName;
	}

	/**
	 * 设置全称
	 * @param sName
	 */
	public void setsName(String sName) {
		this.sName = sName;
	}

	/**
	 * 取 简称
	 * @return String
	 */
	public String getsSimpleName() {
		return sSimpleName;
	}

	/**
	 * 设置简称
	 * @param sSimpleName
	 */
	public void setsSimpleName(String sSimpleName) {
		this.sSimpleName = sSimpleName;
	}

	/**
	 * 取 别名
	 * @return String
	 */
	public String getsAlias() {
		return sAlias;
	}

	/**
	 * 设置别名
	 * @param sAlias
	 */
	public void setsAlias(String sAlias) {
		this.sAlias = sAlias;
	}

	/**
	 * 取 分类
	 * @return String
	 */
	public String getsType() {
		return sType;
	}

	/**
	 * 设置分类
	 * @param sType
	 */
	public void setsType(String sType) {
		this.sType = sType;
	}

	/**
	 * 获得 参考价格(元)
	 * @return mReferencePrice 参考价格(元)
	 */
	public BigDecimal getmReferencePrice() {
		return mReferencePrice;
	}

	/**
	 * 设置 参考价格(元)
	 * @param mReferencePrice 参考价格(元)
	 */
	public void setmReferencePrice(BigDecimal mReferencePrice) {
		this.mReferencePrice = mReferencePrice;
	}

	/**
	 * 获得 当前价格(元)
	 * @return mCurrentPrice 当前价格(元)
	 */
	public BigDecimal getmCurrentPrice() {
		return mCurrentPrice;
	}

	/**
	 * 设置 当前价格(元)
	 * @param mCurrentPrice 当前价格(元)
	 */
	public void setmCurrentPrice(BigDecimal mCurrentPrice) {
		this.mCurrentPrice = mCurrentPrice;
	}

	/**
	 * 取 版本
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
